package cn.aws360.boot.auth.api.pojo.properties;

import cn.aws360.boot.base.api.constant.BaseConstant;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author junnan
 */
@Data
@ConfigurationProperties(prefix = BaseConstant.APP + ".auth")
public class AuthProperties {

    @Value("${enable:false}")
    private boolean enable;

    @Value("${excludes:}")
    private String[] excludes;

    @Value("${captchaWidth:200}")
    private Integer captchaWidth;

    @Value("${captchaWidth:45}")
    private Integer captchaHeight;

}
